//
//  YUTestViewController.m
//  百思不得
//
//  Created by 宋禹奇 on 15/9/4.
//  Copyright (c) 2015年 宋禹奇. All rights reserved.
//

#import "YUTestViewController.h"

@implementation YUTestViewController

- (void)viewDidLoad{
    [super viewDidLoad];
    
    self.navigationItem.title = @"YUTestViewController";
    self.view.backgroundColor = [UIColor redColor];
    
}

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
    UIViewController *vc = [[UIViewController alloc] init];
    vc.view.backgroundColor = YURGBColor(200, 100, 50);
    [self.navigationController pushViewController:vc animated:YES];
}

@end
